//
//  KDHomeRequestTool.h
//  PublicSentimentMonitorSystem
//
//  Created by 魏强 on 15/5/28.
//  Copyright (c) 2015年 魏强. All rights reserved.
//

#import <Foundation/Foundation.h>
@class KDHomePagefindAllTypeResult;
@class KDHomePageFindAllTypeParam;
@class KDHomeListPageGetMonitorWebListResult;
@class KDHomeListPageGetMonitorWebListParam;
@class KDHomeListPageCollectParam;
@class KDHomeListPageCollectResult;
@class KDHomeListPageUnCollectParam;
@class KDHomeListPageUnCollectResult;
@interface KDHomeRequestTool : NSObject
/**
 *  获取监测类型的接口
 *
 *  @param param   需要的参数
 *  @param responseObejct   请求后得到的结果
 *  @param success 请求成功后做的事情
 *  @param failure 请求失败后做的事情
 */
+ (void)getAllTypeListWithParam:(KDHomePageFindAllTypeParam *)param success:(void (^)(KDHomePagefindAllTypeResult *responseObejct))success failure:(void(^)(NSError *error))failure;
/**
 *  获取列表的全部监测数据
 */
+ (void)getMonitorWebListWithParam:(KDHomeListPageGetMonitorWebListParam *)param success:(void(^)(KDHomeListPageGetMonitorWebListResult *responseObejct))success faiure:(void(^)(NSError *error))failure;
/**
 *  点击收藏发送的请求
 */
+ (void)sendCollectDataWithParam:(KDHomeListPageCollectParam *)param success:(void(^)(KDHomeListPageCollectResult *responseObejct))success faiure:(void(^)(NSError *error))failure;
/**
 *  点击取消收藏发送的请求
 */
+ (void)sendUnCollectDataWithParam:(KDHomeListPageUnCollectParam *)param success:(void(^)(KDHomeListPageUnCollectResult *responseObejct))success faiure:(void(^)(NSError *error))failure;
@end
